package com.hongdee.base.imp.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TExcelScheme
 * 类  型: class
 * 描  述: 用一句话描述类的作用
 * 路  径:com.hongdee.base.imp.entity
 * 作  者:My
 * 日  期:2017/2/15 11:29
 */
@Entity
@Table(name = "T_EXCEL_SCHEME")
public class TExcelScheme extends BaseEntity {

    @Column(name = "Scheme_Title", length = 64, columnDefinition = " VARCHAR(64) COMMENT '方案名称' ")
    private String schemeTitle;

    @Column(name = "Data_Entity_Id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '数据实体表ID' ")
    private String dataEntityId;

    @Column(name = "data_entity_title", length = 64, columnDefinition = " VARCHAR(32) COMMENT '数据实体表标题' ")
    private String dataEntityTitle;

    @Column(name = "Qualified_Name", length = 200, columnDefinition = " VARCHAR(200) COMMENT '类名，冗余保存' ")
    private String qualifiedName;

    @Column(name = "Title_Row", columnDefinition = " integer COMMENT '标题行行号，从1开始' ")
    private int titleRow;

    @Column(name = "Data_Start_Row", columnDefinition = " integer COMMENT '数据行行号，从1开始' ")
    private int dataStartRow;

    @Column(name = "Key_Column", columnDefinition = " integer COMMENT '关键非空列号，从1开始' ")
    private int keyColumn;

    @Column(name = "DATA_DESC", length = 64, columnDefinition = " VARCHAR(64) COMMENT '描述信息' ")
    private String desc;

    @Column(name = "status", columnDefinition = " VARCHAR(1) COMMENT '状态' ")
    private String status;


    //-----增加品牌字段

    @Column(name = "brand", length = 32,  columnDefinition = " VARCHAR(32) COMMENT '品牌' ")
    private String brand;

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSchemeTitle() {
        return schemeTitle;
    }

    public void setSchemeTitle(String schemeTitle) {
        this.schemeTitle = schemeTitle;
    }

    public String getDataEntityId() {
        return dataEntityId;
    }

    public void setDataEntityId(String dataEntityId) {
        this.dataEntityId = dataEntityId;
    }

    public int getTitleRow() {
        return titleRow;
    }

    public void setTitleRow(int titleRow) {
        this.titleRow = titleRow;
    }

    public int getDataStartRow() {
        return dataStartRow;
    }

    public void setDataStartRow(int dataStartRow) {
        this.dataStartRow = dataStartRow;
    }

    public int getKeyColumn() {
        return keyColumn;
    }

    public void setKeyColumn(int keyColumn) {
        this.keyColumn = keyColumn;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getQualifiedName() {
        return qualifiedName;
    }

    public void setQualifiedName(String qualifiedName) {
        this.qualifiedName = qualifiedName;
    }

    public String getDataEntityTitle() {
        return dataEntityTitle;
    }

    public void setDataEntityTitle(String dataEntityTitle) {
        this.dataEntityTitle = dataEntityTitle;
    }
}
